how did the ming dynasty fall